﻿<%@ Page Title="" Language="C#" MasterPageFile="~/administrator/site.master" AutoEventWireup="true" CodeFile="Contact.aspx.cs" Inherits="administrator_Contact" %>


<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <style>
.hide{display:none;}
.table-format{border: 1px solid gray; width: 100%}
tr.th{background: url(images/bg-head-grid.gif) repeat-x; height: 26px;}
tr.even{height: 24px; background: gainsboro;}

</style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <ContentTemplate>
        
    <table>
        <tr>
            <td>Xóa<asp:ImageButton ID="ImageButton3" runat="server" 
                    ImageUrl="images/folder_closed_delete.png" OnClick="DeleteMenu" 
                    style="height: 16px"/></td>
        </tr>
    </table>
    <asp:Label runat="server" ID="lblthongbao" ForeColor="red"></asp:Label>
    <asp:UpdateProgress ID="UpdateProgress1" runat="server" AssociatedUpdatePanelID="UpdatePanel1">
              <ProgressTemplate>
<div id="Div1" align="center" valign="middle" runat="server" style="position: absolute;left: 55%;top: 35%;">
                      <asp:Image ID="Image1" runat="server" ImageUrl="images/zme_loading.gif" />
</div>
              </ProgressTemplate>
</asp:UpdateProgress>
   <table class="table-format">
    <tr class="th">
        <th>Họ tên</th><th>Điện thoại</th><th>Email</th><th>Nội dung</th><th>Chọn xóa</th>
    </tr>
    <asp:Repeater runat="server" ID="rptmnu">
        <ItemTemplate>
         <tr><td><asp:Label runat="server" ID="lblid" CssClass="hide" Text='<%#Eval("id") %>'></asp:Label><%#Eval("Name") %></td>
         <td><%#Eval("Mobile") %></td><td><%#Eval("Email") %></td><td><%#Eval("Content") %></td>
            <td><asp:CheckBox runat="server" ID="chk"/></td></tr>
        </ItemTemplate>
         <ItemTemplate>
         <tr><td><asp:Label runat="server" ID="lblid" CssClass="hide" Text='<%#Eval("id") %>'></asp:Label><%#Eval("Name") %></td>
         <td><%#Eval("Mobile") %></td><td><%#Eval("Email") %></td><td><%#Eval("Content") %></td>
            <td><asp:CheckBox runat="server" ID="chk"/></td></tr>
        </ItemTemplate>
    </asp:Repeater>
   
   </table>
   </ContentTemplate>
    </asp:UpdatePanel>
</asp:Content>



